package com.huawei.appgallery.packagemanager.api.bean;

import com.huawei.appgallery.datastorage.database.EnableDatabase;
import java.util.List;
import o.cnz;
import o.coc;
import o.cod;
import o.cof;
import o.cof.a;
import o.col;

public class ManagerTask extends BaseManageTask {
    @EnableDatabase(getProcess = InstallApkTypeProcess.class)
    public List<a> apkInfos;
    @EnableDatabase
    public int flag;
    @EnableDatabase
    public int mode;
    @EnableDatabase
    public String packageName;
    @EnableDatabase
    public cod processType = cod.INSTALL;
    @EnableDatabase(getProcess = ListStringTypeProcess.class)
    public List<String> splitNames;
    @EnableDatabase
    public cnz status = cnz.NOT_HANDLER;
    @EnableDatabase
    public long taskId;
    @EnableDatabase
    public int taskIndex;
    @EnableDatabase
    public coc taskPriority;
    @EnableDatabase
    public boolean uninstallForAllUser = false;
    @EnableDatabase
    public int versionCode;
    public boolean ʻ = false;
    public boolean ʼ = false;
    public String ʽ;
    public String ˊॱ = "";
    public String ˋॱ = "";
    public String ͺ = "";
    public Object ॱॱ;
    public int ᐝ = -1;

    protected ManagerTask() {
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder("ManagerTask{");
        stringBuilder.append("taskIndex=").append(this.taskIndex);
        stringBuilder.append(", taskId=").append(this.taskId);
        stringBuilder.append(", packageName='").append(this.packageName).append('\'');
        stringBuilder.append(", versionCode=").append(this.versionCode);
        stringBuilder.append(", apkInfos=").append(this.apkInfos);
        stringBuilder.append(", splitNames=").append(this.splitNames);
        stringBuilder.append(", status=").append(this.status);
        stringBuilder.append(", update=").append(this.ʻ);
        stringBuilder.append(", runningForeground=").append(this.ʼ);
        stringBuilder.append(", lastInstallType=").append(this.ᐝ);
        stringBuilder.append(", processType=").append(this.processType);
        stringBuilder.append(", installerPkg='").append(this.ʽ).append('\'');
        stringBuilder.append(", conflictingPkg='").append(this.ˊॱ).append('\'');
        stringBuilder.append(", conflictingAppName='").append(this.ͺ).append('\'');
        stringBuilder.append(", conflictingMessage='").append(this.ˋॱ).append('\'');
        stringBuilder.append(", flag=").append(this.flag);
        stringBuilder.append(", uninstallForAllUser=").append(this.uninstallForAllUser);
        stringBuilder.append(", errorRetry=").append(this.ˊ);
        stringBuilder.append(", disableProfile=").append(this.ˎ);
        stringBuilder.append(", retryBackupPath=").append(this.ˏ);
        stringBuilder.append('}');
        return stringBuilder.toString();
    }

    public static ManagerTask ˏ(cof o_cof) {
        ManagerTask managerTask = new ManagerTask();
        managerTask.taskId = o_cof.ˊ;
        managerTask.packageName = o_cof.ˏ;
        managerTask.versionCode = o_cof.ˋ;
        managerTask.flag = o_cof.ॱ;
        managerTask.apkInfos = o_cof.ʽ;
        managerTask.ॱॱ = o_cof.ˎ;
        managerTask.taskPriority = o_cof.ᐝ;
        managerTask.ॱ = o_cof.ʻ;
        managerTask.ˋ = o_cof.ॱॱ;
        return managerTask;
    }

    public static ManagerTask ॱ(col o_col) {
        ManagerTask managerTask = new ManagerTask();
        managerTask.taskId = o_col.ˊ;
        managerTask.packageName = o_col.ˏ;
        managerTask.versionCode = o_col.ˋ;
        managerTask.flag = o_col.ॱ;
        managerTask.splitNames = o_col.ʽ;
        managerTask.uninstallForAllUser = o_col.ʼ;
        managerTask.ॱॱ = o_col.ˎ;
        managerTask.taskPriority = o_col.ᐝ;
        managerTask.ॱ = o_col.ʻ;
        managerTask.ˋ = o_col.ॱॱ;
        return managerTask;
    }

    public static ManagerTask ॱ(ManagerTask managerTask) {
        ManagerTask managerTask2 = new ManagerTask();
        managerTask2.taskIndex = managerTask.taskIndex;
        managerTask2.taskId = managerTask.taskId;
        managerTask2.packageName = managerTask.packageName;
        managerTask2.versionCode = managerTask.versionCode;
        managerTask2.apkInfos = managerTask.apkInfos;
        managerTask2.ॱॱ = managerTask.ॱॱ;
        managerTask2.processType = managerTask.processType;
        managerTask2.mode = managerTask.mode;
        managerTask2.flag = managerTask.flag;
        managerTask2.taskPriority = managerTask.taskPriority;
        return managerTask2;
    }

    public String ˊ() {
        return "ManagerTask";
    }
}
